.class Lcom/netease/newsreader/activity/NewsReader$48;
.super Ljava/lang/Thread;
.source "NewsReader.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/NewsReader;->refreshNew()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/NewsReader;

.field private final synthetic val$id:Ljava/lang/String;

.field private final synthetic val$tid:I

.field private final synthetic val$url:Ljava/lang/String;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/NewsReader;Ljava/lang/String;ILjava/lang/String;)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/NewsReader$48;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    iput-object p2, p0, Lcom/netease/newsreader/activity/NewsReader$48;->val$url:Ljava/lang/String;

    iput p3, p0, Lcom/netease/newsreader/activity/NewsReader$48;->val$tid:I

    iput-object p4, p0, Lcom/netease/newsreader/activity/NewsReader$48;->val$id:Ljava/lang/String;

    .line 4713
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 8

    .prologue
    .line 4715
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 4716
    .local v0, b:Landroid/os/Bundle;
    new-instance v2, Lcom/netease/newsreader/bean/NewsListDataBean;

    invoke-direct {v2}, Lcom/netease/newsreader/bean/NewsListDataBean;-><init>()V

    .line 4717
    .local v2, newsListDataBean:Lcom/netease/newsreader/bean/NewsListDataBean;
    const-string v3, "http://c.3g.163.com/nc/article/list/"

    iget-object v4, p0, Lcom/netease/newsreader/activity/NewsReader$48;->val$url:Ljava/lang/String;

    const/4 v5, 0x0

    const/16 v6, 0x14

    iget-object v7, p0, Lcom/netease/newsreader/activity/NewsReader$48;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v3, v4, v5, v6, v7}, Lcom/netease/newsreader/rss/GetColumnsInfo;->getArticleList(Ljava/lang/String;Ljava/lang/String;IILandroid/content/Context;)Ljava/util/List;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/netease/newsreader/bean/NewsListDataBean;->setItemLsit(Ljava/util/List;)V

    .line 4718
    const-string v3, "newsListDataBean"

    invoke-virtual {v0, v3, v2}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    .line 4720
    new-instance v1, Landroid/os/Message;

    invoke-direct {v1}, Landroid/os/Message;-><init>()V

    .line 4721
    .local v1, msg:Landroid/os/Message;
    const/4 v3, 0x2

    iput v3, v1, Landroid/os/Message;->what:I

    .line 4722
    iget v3, p0, Lcom/netease/newsreader/activity/NewsReader$48;->val$tid:I

    iput v3, v1, Landroid/os/Message;->arg1:I

    .line 4723
    iget-object v3, p0, Lcom/netease/newsreader/activity/NewsReader$48;->val$id:Ljava/lang/String;

    iput-object v3, v1, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 4724
    invoke-virtual {v1, v0}, Landroid/os/Message;->setData(Landroid/os/Bundle;)V

    .line 4725
    iget-object v3, p0, Lcom/netease/newsreader/activity/NewsReader$48;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v3}, Lcom/netease/newsreader/activity/NewsReader;->access$23(Lcom/netease/newsreader/activity/NewsReader;)Landroid/os/Handler;

    move-result-object v3

    invoke-virtual {v3, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 4726
    return-void
.end method
